package jdbc.way1;


import jdbc.connection.Connection;

import java.util.Properties;

public class Client {

    public static void main(String[] args) {
        Properties prop = new Properties();
        prop.put("host", "localhost");
        prop.put("port", "3306");
        prop.put("database", "test");
        prop.put("username", "root");
        prop.put("password", "");

        Connection connection = ConnectionFactory.getConnection("mysql", prop);
        connection.createStatement();

    }
}
